package com.ruoyi.fapiao.mapper;

import java.util.List;
import com.ruoyi.fapiao.domain.ReimbursementDetail;

/**
 * 报销单明细Mapper接口
 * 
 * @author xxxmatata
 * @date 2025-05-19
 */
public interface ReimbursementDetailMapper 
{
    /**
     * 查询报销单明细
     * 
     * @param detailId 报销单明细主键
     * @return 报销单明细
     */
    public ReimbursementDetail selectReimbursementDetailByDetailId(Long detailId);

    /**
     * 查询报销单明细列表
     * 
     * @param reimbursementDetail 报销单明细
     * @return 报销单明细集合
     */
    public List<ReimbursementDetail> selectReimbursementDetailList(ReimbursementDetail reimbursementDetail);

    /**
     * 新增报销单明细
     * 
     * @param reimbursementDetail 报销单明细
     * @return 结果
     */
    public int insertReimbursementDetail(ReimbursementDetail reimbursementDetail);

    /**
     * 修改报销单明细
     * 
     * @param reimbursementDetail 报销单明细
     * @return 结果
     */
    public int updateReimbursementDetail(ReimbursementDetail reimbursementDetail);

    /**
     * 删除报销单明细
     * 
     * @param detailId 报销单明细主键
     * @return 结果
     */
    public int deleteReimbursementDetailByDetailId(Long detailId);

    /**
     * 批量删除报销单明细
     * 
     * @param detailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteReimbursementDetailByDetailIds(Long[] detailIds);
}
